package com.logs;

import java.io.*;

public class LogsSwitch {
    public static void main(String[] args) throws IOException {
        //打开文件
        String filepath="src/com.logs/1.txt";
        BufferedReader reader = new BufferedReader(new FileReader(filepath));
        String line;

        //关键词列表
        String list = "|000E|";

        //遍历
        while((line=reader.readLine())!=null){
            int a=line.length();
            char[] charArray = line.toCharArray();
            if(line.contains(list)) {
                System.out.println(line);

                
            }
        }
    }
}
